Using db for user identification
Added password validation & password hashing methods in User model
Added getId() method in UserIdentity