added flash section to login page