separated login from dynamic Angular pages