Removed the return of user_id = 0 when calling get_user without an id or
username.
Changed all instances of if(logged_user.id == 0) to if(logged_user.id ==
-1)