adding conditionals to send client to various pages based on sign-in.