revision to add login to app