Final revision changes

Update file management (works now), update error messages of login and
registration