Added global post handler for load logged user from db