refactored and styled flash for new user