signup and logout working