working on signup and login functionality