added sessions and sign in view
handling invalid signin
completed signin/signout