added error handling to auth obj
fixed the eggs popup