Modified User model; made login and signup work