fixed bug w/ require_login and other shit