add flash message for user or password error