Logs the user in, returns the result
           
        Returns
           bool - Whether or not the user logged in successfully

def login(self):
        """ Logs the user in, returns the result
           
        Returns
           bool - Whether or not the user logged in successfully
        """
        # Request index to obtain initial cookies and look more human
        pg = self.getPage("http://www.neopets.com")
        
        form = pg.form(action="/login.phtml")
        form.update({'username': self.username, 'password': self.password})
        pg = form.submit()
		
        logging.getLogger("neolib.user").info("Login check", {'pg': pg})
        
        return self.username in pg.content