added click handlers for login and signup form