Fixed website login
Merge pull request #1 from djdavies/loginvalidation

Fixed website login