Fixed incorrect database schema
Fixed endpoints registration code
Removed current user from the endpoints list