Login without session, commented method