Implements user authentication and fixes in project app module