Added parsing of login file for correct redirection and verification