homepage styling; refactor delete profile flash message to allow user to close it