progress on adding flash messages to login/register