Added flash warning to login when user attempts to go to dashboard without logging in first