added login lib