set an user to admin and correct signout bug