Finished login. Added tab generation via rest call. Need to move it to scope variable so it is not called every time.