signup and login resolve with user