Fixed custom login example