Edited the help message
Made the authentication routine more elegant.