login re-work for new app: complete