Removed bugs and updated login view file