some layout for sign in page and flash errors