added method for login
Merge branch 'master' of https://github.com/stevejmason/TrainingProject-1