Authentication

implemented login and registration