added basic sign up/log in architecture
added logout and auto login after sign up