created authentication system for app