Resolve "Some commitments are not shown even though active"
- get date of last session from db because the data in the user's profile is not updated for logged sessions
- only return active commitments because having inactive in array breaks pagination in frontend; changed in api because there is no need to return inactive one's.
Currently not having much time to add test cases, would like to patch this anyhow.
Closes #305 (closed)
Edited by Sebastian K