some login and logout functs + a filter for everything that reqires a login
captcha code