Made edits in login controllers and some views