begining of authentication..
basic sign in/out functionality