Added flash messages after failed admin view