Refactored flash alerts
Added new user routes and updated views