add missing files
Merge remote-tracking branch 'origin/sen'
Adjusted login to differentiate between different failure cases and store information on whether a user is a manager.