Refactoring

Auth module. Restore User on start.