Refactors Player to represent the actions
Adds missing documentation
Adds auth support
Fix require paths
Check for empty password