cleaning up and fixing authlogic