Moved user authentication functionality to separate auth app.