fixes for login api changes