Added comments for each function and login now returns at the end of the list
Merge pull request #1 from MarkyRoss/master

Added comments for each function and login now returns at the end of the password list