flash error and default page styles
errors, checking for users