Added new Constructro to logn model and started using the new constructor in UserService
Previously when creating a User we set the password and hash as blank as we had to have a user since the ID og login is the username. I created a new constructor which only takes a User as input. I feel like this is a safer way of doing it.