business end of login in library