Starts opac app and adds login/logout functionality