Added basic authorization, added flash notices to app.html.erb