Adds flash errors when sign/log in