Basic admin user functionality.
Added flash messages.