Implemented the update generic function.
Created Identifiable interface.
Created findByEmail function for User.
Added tests.