finished signup and logout