check for auth user before bootstrap angular