Fixed bug: location_id and location_name will return nil instead of error if there is no current user