changed login page, added flash block to base template