get login auth working