added userService and log-in and sign-up on front-end