Small Changes, Playing with Classes

Attempted to create a User Model class as well as a unit test for it.
Not fully successful, just playing with it. Made small changes to Login
view class. Nothing too much, edit if you want. Let me know if something
is bad or what else to do