Updated layout to use for login and show flash messages