Moved Login logic to User model and created a CreateSession function in the controller for cleaner code. (its not clean, i may move it to the User model class.)
Added 4 more columns to parse database.