fixed the query for student search to be distinct, app now logs in using the SLApp login