Login function fixed
Code fixes and commentaries
Code Fixes and get user by id function
Get user by id fixed
Revert "Get user by id fixed"

This reverts commit 0ee5f95ebdbed266acef16c47f140594ab6404ff.
Revert 0ee5f95..48206ae

This rolls back to commit 0ee5f95ebdbed266acef16c47f140594ab6404ff.
Get user by id fixed
conflicts solved