Moved login example to top level