Modified the login to authenticate teachers by username only.

For testing purposes.
Merge branch 'master' of https://github.com/polinankoleva/docmag.git