Added exception case in LoginService.
Created tests for UserRepository and LoginService.
Fixed getPassword() bug in User entity.