Update rest angular functions according to new API changes.
Add new practice and questions logic according to API improvement.