added user management routes
added check for user authentication
added boilerplate for login pages