Hi Michael,
You can do this by controlling the permissions for the pages that you are displaying.
For a sign in button, you can show a page with a navigation bar that has a sign in button, and set that page to only be shown to anonymous users. For a sign out button, you can do the same but set the permissions to only allow users (this would be all other module roles a user has) to navigate too.