Fixed user.js signup and login