changed application.html.erb and redirect upon craete action for authentications