added login forms
added flash notice and alerts