Returning correct information from server