Added login validation function for API
Merge branch 'master' of https://github.com/UniversityRadioYork/MyRadio