modify flash message, move signin and signout buttons