Made changes to login functons in auth model and controller. Added  some views for the auth system.