adding function for return key in login

adding new file for managing view