move .run (login config) from app to login controller