made login code even more sexier (now with better logging)
made login code even more sexier (now with sexier codestyle!!)
Overloaded 'is_logged_in' to check any page