Finish sign in, add signout, add remember signin with cookies